<template>
  <div>
    <el-card>
      <el-row :gutter="20">
      </el-row>

      <el-descriptions title="账户信息" class="margin-top" :column="1" border style="width: 380px;">
        <el-descriptions-item label="余额">{{ account.surplusMoney }}</el-descriptions-item>
        <el-descriptions-item label="预扣金额">{{ account.withholdingMoney }}</el-descriptions-item>
        <el-descriptions-item label="可用余额">{{ account.availableMoney }}</el-descriptions-item>
      </el-descriptions>

    </el-card>


  </div>
</template>

<script>
import Api from "@/api/Movie.js";
export default {
  data() {
    return {
      queryInfo: {
      },
      account: {

      },
    };
  },
  created() {
    this.nlBalance();
  },
  methods: {
    nlBalance() {
      Api.nlBalance(this.queryInfo).then((res) => {
        if (res.success) {
          this.account = res.data;
        } else {
          return this.$message.error("获取失败");
        }
      });
    }
  }
};
</script>

<style lang="less" scoped>
.logo_pic {
  max-width: 100px;
}
</style>
